<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>商品评价</title>
    <script type="text/javascript">
        document.documentElement.style.fontSize = document.documentElement.clientWidth / 750 * 100 + 'px';
    </script>
    <link rel="stylesheet" href="../css/base.css">
    <link rel="stylesheet" href="../css/evaluate.css">
</head>

<body>
    <div id="wrap">
        <div id="head">
            <p>拼粮</p><a href=""><i class="iconfont">&#xe638;</i></a>
        </div>
        <header>
            <a href="" class="return"><i class="iconfont">&#xe605;</i>返回</a>
            <p>商品评价</p>
        </header>
        <section>
            <!-- 全部 -->
            <div class="main">
                <p class="actions">全部（945）</p>
                <p>好评（945）</p>
                <p>有图（35）</p>
                <p>快递不错（25）</p>
                <p>快递不错（25）</p>
            </div>
            <div class="jiantou1">
                <img class="dianji" src="../imgs/jiantou1.png" alt="">
            </div>
            <!-- 评价内容形式 -->
            <div class="middle">
                <div class="middle-title">
                    <div class="middle-left">
                        <img src="../imgs/timg.jpg" alt="">
                        <p>匿名</p>
                    </div>
                    <div class="middle-right">
                        <img src="../imgs/liangxing.png" alt="">
                        <img src="../imgs/liangxing.png" alt="">
                        <img src="../imgs/liangxing.png" alt="">
                        <img src="../imgs/liangxing.png" alt="">
                        <img src="../imgs/liangxing.png" alt="">
                    </div>
                </div>
                <div class="evalu">
                    <input type="text" placeholder="评价">
                </div>
                <div class="zyg">
                    <img src="../imgs/zyg.jpeg" alt="">
                </div>
                <div class="onefen">
                    <span>
                        一份 （半斤装）
                    </span>
                    <span>
                        评价日期：2019-4-15
                    </span>
                </div>
            </div>
            <!-- 内容2 -->
            <!-- 评价内容形式 -->
            <div class="middle">
                <div class="middle-title">
                    <div class="middle-left">
                        <img src="../imgs/timg.jpg" alt="">
                        <p>匿名</p>
                    </div>
                    <div class="middle-right">
                        <img src="../imgs/liangxing.png" alt="">
                        <img src="../imgs/liangxing.png" alt="">
                        <img src="../imgs/liangxing.png" alt="">
                        <img src="../imgs/liangxing.png" alt="">
                        <img src="../imgs/anxiang.png" alt="">
                    </div>
                </div>
                <div class="evalu">
                    <input type="text" placeholder="评价">
                </div>
                <div class="zyg">
                    <img src="../imgs/zyg.jpeg" alt="">
                </div>
                <div class="onefen">
                    <span>
                            一份 （半斤装）
                        </span>
                    <span>
                            评价日期：2019-4-15
                        </span>
                </div>
            </div>
        </section>
        <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
        <script>
            $('.dianji').click(function() {
                // 点击第一次添加，点击第二次删除
                $('.main').toggleClass("mains")
            })
        </script>
</body>

</html>